package com.jxl.application.controller.dto;

import com.jxl.common.entity.PageResult;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 题目主表(SubjectInfo)实体类
 *
 * @author makejava
 * @since 2024-06-26 20:35:20
 */
@Data
public class SubjectInfoDto  extends PageResult implements Serializable {
    private static final long serialVersionUID = 226557301309668695L;
    
    private Long id;
    /**
     * 题目名称
     */
    private String subjectName;
    /**
     * 题目难度
     */
    private Integer subjectDifficult;
    /**
     * 出题人名
     */
    private String settleName;
    /**
     * 题目类型
     */
    private Integer subjectType;
    /**
     * 题目分数
     */
    private Integer subjectScore;
    /**
     * 题目解析
     */
    private String subjectParse;

    /**
     * 题目答案
     */
    private String subjectAnswer;
    /**
     * 是否删除
     */
    private Integer isDeleted;

    /**
     * 分类编号
     */
    private List<Long> categoryIds;

    /**
     * 标签编号
     */
    private List<Long> LabelIds;


    /**
     * 标签名称
     */
    private List<String> LabelNames;

    private List<SubjectAnswerDto> optionList;

    //分类id
    private Long categoryId;

    //标签id
    private Long labelId;

    private String keyWord;

    /**
     * 创建人昵称
     */
    private String createUser;

    /**
     * 创建人头像
     */
    private String createUserAvatar;

    /**
     * 题目数量
     */
    private Integer subjectCount;


    /**
     * 是否被当前用户点赞
     */
    private Boolean liked;

    /**
     * 当前题目点赞的数量
     */
    private Integer likedCount;

}

